package com.party.web.web.security;

import com.party.core.model.member.MemberGroup;

/**
 * @ClassName CurrentUser
 * @Description 登录用户的实体
 * @Author yifeng
 * @Date 2019/9/17 14:33
 **/
public class CurrentUser extends MemberGroup {

   private static final long serialVersionUID =7315530356666141140L;

    // 是否为子账号
   private boolean isChild;

   // 是否一级子账号
   private boolean isOneLevelChildren;

   // 是否二级子账号
   private boolean isTwoLevelChildren;

   //是否为管理员账号
    private boolean isXzgsAdmin;

    public boolean isXzgsAdmin() {
        return isXzgsAdmin;
    }

    public void setXzgsAdmin(boolean xzgsAdmin) {
        isXzgsAdmin = xzgsAdmin;
    }

    public boolean isChild() {
        return isChild;
    }

    public void setChild(boolean child) {
        isChild = child;
    }

    public boolean isOneLevelChildren() {
        return isOneLevelChildren;
    }

    public void setOneLevelChildren(boolean oneLevelChildren) {
        isOneLevelChildren = oneLevelChildren;
    }

    public boolean isTwoLevelChildren() {
        return isTwoLevelChildren;
    }

    public void setTwoLevelChildren(boolean twoLevelChildren) {
        isTwoLevelChildren = twoLevelChildren;
    }
}
